<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>增加博客</title>
</head>
<body>
<div class="form-container">
    <form method="post" action="writeBlog.php">
        <div class="ta-container">
            <label for="title">标题</label>
            <input type="text" id="title" name="title">
            <label for="author">作者</label>
            <input type="text" id="author" name="author">
        </div>
        <div class="content-container">
            <label for="content">内容</label>
            <textarea name="content" id="content" cols="53" rows="10"></textarea>
        </div>
        <div>
            <input type="submit" value="提交">
        </div>
    </form>
</div>
</body>
</html>


<style>
    .form-container {
        display: flex;
        justify-content: center;
    }

    .ta-container {
        margin-bottom: 5px;
    }

    .content-container {
        margin-bottom: 5px;
    }
</style>